package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供应商菜单
 */
public interface SupplierDao {

    List<Supplier> list(@Param("page")Integer page,
                        @Param("rows")Integer rows,
                        @Param("supplierName")String supplierName);


    void save(@Param("supplier") Supplier supplier);

    void update(@Param("supplier") Supplier supplier);

    void delete(@Param("list") List<String>list );
}
